/*
 * @Description: []
 * @Author: Iseven Monkey <iswoter@gmail.com>
 * @Date: 2023-10-28 06:34:33
 * @LastEditors: Iseven Monkey <iswoter@gmail.com>
 * @LastEditTime: 2023-11-18 01:09:27
 */
.form {
  &-input {
    display: inline-block;
    padding: 20rpx 60rpx;
    border: 0;
    outline: 0;
    background-color: $uni-white;
    color: $uni-base-color;
    border-radius: 60rpx;
    font-size: 28rpx;
    vertical-align: middle;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
  }

  &-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20rpx 60rpx;
    border-radius: 60rpx;
    background-color: $uni-white;
    color: $uni-base-color;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
    box-shadow: $box-shadow;
    &-input {
      flex: 1 1 auto;
      border: 0;
      outline: 0;
      background: transparent;
      color: $uni-base-color;
      font-size: 28rpx;
      height: 60rpx;
      vertical-align: middle;
      line-height: 1;
    }

    &-button {
      overflow: unset;
      margin-left: 30rpx;
      height: 60rpx;
      padding: 0 20rpx;

      background-color: $uni-primary;
      color: $uni-white;

      font-size: 28rpx;
      text-align: center;
      vertical-align: middle;
      line-height: 60rpx;
      white-space: nowrap;

      border-radius: 60rpx;

      &::after {
        display: none;
      }
      &-left {
        margin-right: 30rpx;
      }

      &-right {
        margin-left: 30rpx;
      }
    }
  }
}
// 如果是H5

/*#ifdef H5*/
.form {
  &-input {
    height: 100rpx;
  }

  &-group {
    &-input {
      height: 60rpx;
    }
  }
}
.uni-input-input,
.uni-input-wrapper {
  height: 44rpx;
  line-height: 44rpx;
}
/*#endif*/

.placeholder_text {
  font-size: 36rpx;
  font-weight: 500;
}

.placeholder_primary {
}

.radio {
  width: 32rpx;
  height: 32rpx;
  border-radius: 50%;
  border: 2rpx solid #999;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.radio.radio-checked {
  color: #fff;
  font-size: 20rpx;
  background-color: #189b37;
  border-color: #189b37;
}

.search-form {
  border-radius: calc(var(--border-radius) * 0.5);
  padding: 0;
  background-color: #fff;

  &-input {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex: 1;
    padding-left: 20rpx;
    height: 80rpx;
    border: 2rpx solid var(--border-color);
    border-right: 0;
    border-radius: calc(var(--border-radius) * 0.5) 0 0 calc(var(--border-radius) * 0.5);
  }
  .btn {
    border-radius: var(--border-radius);
    box-shadow: none;
    background-color: #ff8800;
    padding: 0 60rpx;
    //渐变背景 橙色
    background-image: linear-gradient(to bottom, #ff9e2f, #ff7700);
    color: #fff;
    font-weight: 600;
    font-size: 28rpx;
    height: 80rpx;
    line-height: 80rpx;
    border-radius: 0 calc(var(--border-radius) * 0.5) calc(var(--border-radius) * 0.5) 0;
  }
}
